package com.sanyu.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ArticleVO implements Serializable {
    //ID
    private Long id;
    //标题
    private String title;
    //内容
    private String content;
    //封面图片URL
    private String titleImage;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //创建人ID
    private Long createUser;
    //最后修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //最后修改人ID;
    private Long updateUser;
}
